package com.cyf.db.mapper.smartCity;

import com.cyf.smartCity.bean.SendData;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

/**
 * @author hfy
 * @date 2018/11/23
 */
public interface SendDataMapper {

    @Insert("insert into send_data(tableName, cloudId, localId, parkingId, optType) " +
            "values(#{sendData.tableName},#{sendData.cloudId},#{sendData.localId}," +
            "#{sendData.parkingId}, #{sendData.optType})")
    void insert(@Param("sendData") SendData sendData);
}
